import { CommonListParams } from '@/api/model/common';
import { IObject } from '@/types/common';

export interface ResultList {
  list: ResultItem[];
  total: number;
}

export interface ResultItem {
  sn: string;
  dev_name: string;
  id: string;
}

export interface ListParams extends CommonListParams {
  search: Partial<PostData> & IObject;
}

export interface PostData {
  sn: string;
  dev_name: string;
  id?: string;
}

export interface IdItem {
  id: string;
}
